﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Tablet._Default" %>

<!DOCTYPE html>
<html>
<head>
    <title>Orange</title>
    <!-- Meta Tags -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="robots" content="index, follow" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <!-- Favicon -->
    <link rel="shortcut icon" href="favicon.ico" />
    <!-- CSS -->
    <link rel="stylesheet" type="text/css" href="css/common.light.min.css" />

    <script type="text/javascript">
        function btnSearchClick() {
            var sSearch = document.getElementById('txtSearch').value;
            window.location = "category.aspx?type=4&src=" + sSearch;
        }
    </script>

</head>
<body class="page-appstore">
    <div id="container">
        <div id="header" class="<%--with-peek--%> slideUp">
            <div class="header-inner clearfix">
                <div class="content">
                    <div class="banner">
                        <a href='<%=lnkBanner %>'>
                            <img src='<%= imgBanner %>' alt="" /></a>
                    </div>
                    <!-- banner -->
                    <h1>
                        <a href="default.aspx">קניון האפליקציות</a></h1>
                    <a href="http://3g.orange.co.il/Tablet/Default.aspx" class="button-all-categories button">
                        תפריט ראשי</a>
                </div>
                <!-- content -->
            </div>
            <!--header inner-->
            <%--<div class="header-peek">
					<span class="text ir">הצטרף לחבילת ערוצי טלוויזיה ותהנה מצפייה</span>
					<br />
					<span class="text ir orange">ללא הגבלה במגוון ערוצים!</span>					

					<div class="cut">
						<span class="shadow"></span>
						<span class="highlight"></span>						
					</div><!-- cut -->
				</div>--%>
        </div>
        <!-- header -->
        <div id="content">
            <div class="content-inner clearfix">
                <!-- Search -->
                <!-- ************************************************************************************* -->
                <div class="search">
                    <input id="txtSearch" type="text" value="" />
                    <input type="button" onclick="btnSearchClick()" />
                </div>
                <!-- search -->
                <!-- Featured Content -->
                <!-- ************************************************************************************* -->
                <div class="featured-content">
                    <div class="promo">
                        <a href="http://m.tapuz.co.il/net2/sbuilder/default.aspx?siteid=542&PageId=11083">
                            <img src="images/placeholders/car.promo.jpg" alt="" /></a>
                    </div>
                    <div id="apps" class="box-list wide-list">
                        <ul class="clearfix">
                            <asp:Repeater ID="rptMainContent" runat="server">
                                <ItemTemplate>
                                    <li class="clearfix"><a class="cover-link" href="AppDetails.aspx?aid=<%# ((Tablet.Application)Container.DataItem).id%>">
                                    </a>
                                        <div class="thumb">
                                            <a href="AppDetails.aspx?aid=<%# ((Tablet.Application)Container.DataItem).id%>">
                                                <img src='<%# ((Tablet.Application)Container.DataItem).icon%>' alt="">
                                            </a>
                                        </div>
                                        <p class="text title">
                                            <%# ((Tablet.Application)Container.DataItem).name%></p>
                                        <p class="text details">
                                            <%# ((Tablet.Application)Container.DataItem).shortdescription%></p>
                                        <p class="text price">
                                            <%# ((Tablet.Application)Container.DataItem).price%></p>
                                        <div class="cut">
                                            <span class="shadow"></span><span class="highlight"></span>
                                        </div>
                                        <!-- cut -->
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                    <!-- apps -->
                    <div id="categories" class="box-list squares">
                        <ul class="clearfix">
                            <asp:Repeater ID="rptTopCategories" runat="server">
                                <ItemTemplate>
                                    <li>
                                        <div class="thumb">
                                            <a href="<%#((Tablet.Category)Container.DataItem).link %>">
                                                <asp:Image runat="server" ID="imgCat" ImageUrl='<%# String.Format("images/icons/{0}_icon.jpg",((Tablet.Category)Container.DataItem).id) %>'
                                                    AlternateText="img" />
                                            </a>
                                        </div>
                                        <p class="text title">
                                            <%# ((Tablet.Category)Container.DataItem).name%></p>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                    <!-- categories -->
                    <div id="stores" class="box-list squares">
                        <h2>
                            חנויות הקניון <span class="glow"></span>
                        </h2>
                        <div class="cut horizontal">
                            <span class="shadow"></span><span class="highlight"></span>
                        </div>
                        <!-- cut -->
                        <ul class="clearfix">
                            <asp:Repeater runat="server" ID="rptCategories">
                                <ItemTemplate>
                                    <li>
                                        <div class="thumb">
                                            <a href="<%#((Tablet.Category)Container.DataItem).link %>">
                                                <asp:Image runat="server" ID="imgCat" ImageUrl='<%# String.Format("images/icons/{0}_icon.jpg",((Tablet.Category)Container.DataItem).id) %>'
                                                    AlternateText="img" />
                                            </a>
                                        </div>
                                        <p class="text title">
                                            <%#((Tablet.Category)Container.DataItem).name%></p>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                    <!-- stores -->
                    <div id="more-apps" class="box-list generic four-in-row links">
                        <h2>
                            עוד אפליקציות <span class="glow"></span>
                        </h2>
                        <div class="cut horizontal">
                            <span class="shadow"></span><span class="shadow"></span><span class="highlight">
                            </span><span class="highlight"></span>
                        </div>
                        <!-- cut -->
                        <ul class="clearfix">
                            <!-- The number of LIs must be X*4. If the last row is not full, fill it with empty LIs -->
                            <asp:Repeater runat="server" ID="rptLnkCats">
                                <ItemTemplate>
                                    <li><a href="<%#((Tablet.Category)Container.DataItem).link %>">
                                        <%#((Tablet.Category)Container.DataItem).name%></a>
                                        <div class="inner-cut horizontal">
                                            <span class="shadow"></span><span class="highlight"></span>
                                        </div>
                                        <!-- inner-cut -->
                                        <div class="inner-cut vertical">
                                            <span class="shadow"></span><span class="highlight"></span>
                                        </div>
                                        <!-- inner-cut -->
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                            <%-- <li>
                                <div class="inner-cut horizontal">
                                    <span class="shadow"></span><span class="highlight"></span>
                                </div>
                                <!-- inner-cut -->
                                <div class="inner-cut vertical">
                                    <span class="shadow"></span><span class="highlight"></span>
                                </div>
                                <!-- inner-cut -->
                            </li>
                            <li>
                                <div class="inner-cut horizontal">
                                    <span class="shadow"></span><span class="highlight"></span>
                                </div>
                                <!-- inner-cut -->
                                <div class="inner-cut vertical">
                                    <span class="shadow"></span><span class="highlight"></span>
                                </div>
                                <!-- inner-cut -->
                            </li>
                            <li>
                                <div class="inner-cut horizontal">
                                    <span class="shadow"></span><span class="highlight"></span>
                                </div>
                                <!-- inner-cut -->
                                <div class="inner-cut vertical">
                                    <span class="shadow"></span><span class="highlight"></span>
                                </div>
                                <!-- inner-cut -->
                            </li>--%>
                        </ul>
                    </div>
                    <!-- websites -->
                    <div class="box-list">
                        <div class="note">
                            <p class="text">
                                * אפליקציות מאתרים חיצוניים (גלישה באינטרנט) שאינן באחריות פרטנר - <a href="http://iphone.orange.co.il/PriceList.aspx">
                                    לתעריפי הגלישה</a></p>
                        </div>
                    </div>
                </div>
                <!-- featured-content -->
            </div>
            <!--content-inner-->
        </div>
        <!--content-->
    </div>
    <!-- container -->
    <div id="footer">
        <div class="footer-inner">
            <!-- Sub Navigation -->
            <!-- ************************************************************************************* -->
            <div id="sub-nav" class="nav clearfix">
                <!-- Design elements -->
                <div class="cut">
                    <span class="shadow"></span><span class="highlight"></span>
                </div>
                <!-- cut -->
                <!-- Content -->
                <ul class="clearfix">
                    <li><a href="http://3g.orange.co.il/Tablet/Default.aspx">דף הבית</a> </li>
                    <li><a href="http://3g.orange.co.il/Tablet/PriceList.aspx">מחירון</a> </li>
                    <li><a href="http://www.orange.co.il/he-il/accessible-Home-Page/">לאתר orange.co.il</a>
                    </li>
                </ul>
                <!-- Design elements -->
                <div class="inner-cut vertical">
                    <span class="shadow"></span><span class="shadow"></span><span class="highlight">
                    </span><span class="highlight"></span>
                </div>
                <!-- inner-cut -->
            </div>
            <!-- navigation -->
        </div>
        <!--footer inner-->
    </div>
    <!--footer-->
    <!-- JAVASCRIPT -->

    <script type="text/javascript" src="scripts/common.min.js"></script>

</body>
</html>
